<#if model??>
    public void set${model.className}PropertiesToZero(${model.className} ${model.className?uncap_first}){
    <#list model.columns as column>
        <#if column.columnName=="id">
        <#elseif column.columnName=="createDate">
        <#elseif column.columnName=="updateDate">
        <#elseif column.columnName=="createBy">
        <#elseif column.columnName=="updateBy">
        <#elseif column.columnName=="status">
        <#elseif column.columnName=="sort">
        <#elseif column.columnName=="remarks">
        <#else>
        if(JStringUtils.isBlank(${model.className?uncap_first}.get${column.columnName?cap_first}())){
            ${model.className?uncap_first}.set${column.columnName?cap_first}("0");
        }
        </#if>
    </#list>
    }

    "<#list model.columns as column><#if column.columnName=="id"><#elseif column.columnName=="createDate"><#elseif column.columnName=="updateDate"><#elseif column.columnName=="createBy"><#elseif column.columnName=="updateBy"><#elseif column.columnName=="sort"><#elseif column.columnName=="status"><#elseif column.columnName=="remarks"><#else><#if !column_has_next>${column.columnName}<#else>${column.columnName},</#if></#if></#list>","<#list model.columns as column><#if column.columnName=="id"><#elseif column.columnName=="createDate"><#elseif column.columnName=="updateDate"><#elseif column.columnName=="createBy"><#elseif column.columnName=="updateBy"><#elseif column.columnName=="status"><#elseif column.columnName=="remarks"><#else><#if !column_has_next>${column.columnDesc}<#else>${column.columnDesc},</#if></#if></#list>"





    <#list model.columns as column>
        <#if column.columnName=="id">
        <#elseif column.columnName=="createDate">
        <#elseif column.columnName=="updateDate">
        <#elseif column.columnName=="createBy">
        <#elseif column.columnName=="updateBy">
        <#elseif column.columnName=="status">
        <#elseif column.columnName=="sort">
        <#elseif column.columnName=="remarks">
        <#else>
        <td <c:if test="${"$"}{${model.className?uncap_first}.${column.columnName?uncap_first}>0}">text-danger</c:if> >${"$"}{${model.className?uncap_first}.${column.columnName?uncap_first}}</td>
        </#if>
    </#list>
</#if>